package com.example.demo.mapper;

import com.example.demo.pojo.Course;
import com.example.demo.pojo.Student;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentMapper {
    public Student getStudentByUid(@Param("uid") String uid);
    public void updateInfo(Student student);
    public List<Course>  getAllCourse(int sno);
    public void insertStudent(Student student);
    public void deleteUser(@Param("uid") String uid);
}
